﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:Adorners="clr-namespace:MixModes.Synergy.Web.VisualFramework.Adorners">
    <Style TargetType="Adorners:ResizingAdorner">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Adorners:ResizingAdorner">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="4" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="4" />
                        </Grid.ColumnDefinitions>

                        <Grid.RowDefinitions>
                            <RowDefinition Height="4" />
                            <RowDefinition Height="*" />
                            <RowDefinition Height="4" />
                        </Grid.RowDefinitions>

                        <Thumb x:Name="PART_SIZE_TOP_LEFT"
                               Background="Azure"
                               Cursor="SizeNWSE"
                               Grid.Column="0"
                               Grid.Row="0">
                        </Thumb>

                        <Thumb x:Name="PART_SIZE_TOP"
                               Cursor="SizeNS"
                               Grid.Column="1"
                               Grid.Row="0">
                        </Thumb>

                        <Thumb x:Name="PART_SIZE_TOP_RIGHT"
                               Cursor="SizeNESW"
                               Grid.Column="2"
                               Grid.Row="0">
                        </Thumb>

                        <Thumb x:Name="PART_SIZE_LEFT"
                               Cursor="SizeWE"
                               Grid.Column="0"
                               Grid.Row="1">
                        </Thumb>

                        <Thumb x:Name="PART_SIZE_RIGHT"
                               Cursor="SizeWE"
                               Grid.Column="2"
                               Grid.Row="1">
                        </Thumb>

                        <Thumb x:Name="PART_SIZE_BOTTOM_LEFT"
                               Cursor="SizeNESW"
                               Grid.Column="0"
                               Grid.Row="2">
                        </Thumb>

                        <Thumb x:Name="PART_SIZE_BOTTOM"
                               Cursor="SizeNS"
                               Grid.Column="1"
                               Grid.Row="2">
                        </Thumb>

                        <Thumb x:Name="PART_SIZE_BOTTOM_RIGHT"
                               Cursor="SizeNWSE"
                               Grid.Column="2"
                               Grid.Row="2">
                        </Thumb>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>